package com.service;

import com.pojo.CartItem;
import com.pojo.Order;
import com.pojo.TbOrder;
import com.pojo.TbOrderList;

import java.util.List;

public interface OderService {

    Order createOrder(List<CartItem> cartItemList, String aid);

    //处理支付结果，参数是订单号
    void processPay(String id);

    void cancelOrder(String id);

    List<TbOrder> findAllOrder(Long uid);
}
